3.12.50 \(\int (1-2 x) (2+3 x) (3+5 x) \, dx\) [1150]

Optimal. Leaf size=25 \[ 6 x+\frac {7 x^2}{2}-\frac {23 x^3}{3}-\frac {15 x^4}{2} \]

[Out]

6*x+7/2*x^2-23/3*x^3-15/2*x^4

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {78} \begin {gather*} -\frac {15 x^4}{2}-\frac {23 x^3}{3}+\frac {7 x^2}{2}+6 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(1 - 2*x)*(2 + 3*x)*(3 + 5*x),x]

[Out]

6*x + (7*x^2)/2 - (23*x^3)/3 - (15*x^4)/2

Rule 78

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int (1-2 x) (2+3 x) (3+5 x) \, dx &=\int \left (6+7 x-23 x^2-30 x^3\right ) \, dx\\ &=6 x+\frac {7 x^2}{2}-\frac {23 x^3}{3}-\frac {15 x^4}{2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 25, normalized size = 1.00 \begin {gather*} 6 x+\frac {7 x^2}{2}-\frac {23 x^3}{3}-\frac {15 x^4}{2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*x)*(2 + 3*x)*(3 + 5*x),x]

[Out]

6*x + (7*x^2)/2 - (23*x^3)/3 - (15*x^4)/2

________________________________________________________________________________________

Maple [A]
time = 0.00, size = 20, normalized size = 0.80

method result size
gosper \(-\frac {x \left (45 x^{3}+46 x^{2}-21 x -36\right )}{6}\) \(19\)
default \(6 x +\frac {7}{2} x^{2}-\frac {23}{3} x^{3}-\frac {15}{2} x^{4}\) \(20\)
norman \(6 x +\frac {7}{2} x^{2}-\frac {23}{3} x^{3}-\frac {15}{2} x^{4}\) \(20\)
risch \(6 x +\frac {7}{2} x^{2}-\frac {23}{3} x^{3}-\frac {15}{2} x^{4}\) \(20\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)*(2+3*x)*(3+5*x),x,method=_RETURNVERBOSE)

[Out]

6*x+7/2*x^2-23/3*x^3-15/2*x^4

________________________________________________________________________________________

Maxima [A]
time = 0.35, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15}{2} \, x^{4} - \frac {23}{3} \, x^{3} + \frac {7}{2} \, x^{2} + 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x, algorithm="maxima")

[Out]

-15/2*x^4 - 23/3*x^3 + 7/2*x^2 + 6*x

________________________________________________________________________________________

Fricas [A]
time = 0.44, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15}{2} \, x^{4} - \frac {23}{3} \, x^{3} + \frac {7}{2} \, x^{2} + 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x, algorithm="fricas")

[Out]

-15/2*x^4 - 23/3*x^3 + 7/2*x^2 + 6*x

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 22, normalized size = 0.88 \begin {gather*} - \frac {15 x^{4}}{2} - \frac {23 x^{3}}{3} + \frac {7 x^{2}}{2} + 6 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x)

[Out]

-15*x**4/2 - 23*x**3/3 + 7*x**2/2 + 6*x

________________________________________________________________________________________

Giac [A]
time = 1.61, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15}{2} \, x^{4} - \frac {23}{3} \, x^{3} + \frac {7}{2} \, x^{2} + 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x, algorithm="giac")

[Out]

-15/2*x^4 - 23/3*x^3 + 7/2*x^2 + 6*x

________________________________________________________________________________________

Mupad [B]
time = 0.03, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15\,x^4}{2}-\frac {23\,x^3}{3}+\frac {7\,x^2}{2}+6\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(2*x - 1)*(3*x + 2)*(5*x + 3),x)

[Out]

6*x + (7*x^2)/2 - (23*x^3)/3 - (15*x^4)/2

________________________________________________________________________________________